<?php
/**
 * CEOfox
 *
 * @copyright  Copyright 2011-2012 CEOfox, Inc.
 * @license    http://ceofox.com/pages/license
 * @version    $Id: setting.html.php 17081 2013-05-24 09:40:17 $
 * @author     CEOfox, Inc.
 */
?>
<?php
  defined('PHPFOX') or exit('NO DICE!');
?>
{if isset($bHasFollowed) && $bHasFollowed}
    <div class="table_header {if PHPFOX_IS_AJAX}mini_header{else}mini_header_no_ajax{/if}">
    {phrase var='follow.what_types_of_feed_you_want_to_get_from_this_type' type=$sType}?
    </div>

    <div id="privacy_holder_table" class="follow_setting">
        <form name="follow_setting_feed" action="" onsubmit="$Core.follow.changeSetting(this); return false;" method="post">
        <input name="val[is_ajax]" value="{if isset($bIsAjax) && $bIsAjax}1{else}0{/if}" type="hidden">
        <input name="val[item_id]" value="{$aParentModule.item_id}" type="hidden">
        <input name="val[module_id]" value="{$aParentModule.module_id}" type="hidden">
        <div class="" style="margin-bottom:10px;">
        <ul class="follow_filter_list_item">
            <li class="follow_filter_item"><span><input type="checkbox" name="val[noti]" value="1" {if isset($aFilter.get_noti) && $aFilter.get_noti}checked="checked"{/if}/> {phrase var='follow.get_notifications'}</span></li>
            {foreach from=$aFilter.filter item=aType key=sModule}
                <li class="follow_filter_item"><span><input type="checkbox" name="val[filter][{$sModule}]" value="1" {if $aType.is_selected}checked="checked"{/if}/> {$aType.title|convert}</span></li>
            {/foreach}
        </ul>
        <div class="clear"></div>
        </div>
            
            <input type="submit" value="{phrase var='user.save_changes'}" class="button"/>
            </form> 
    </div>
    
{else}
    <div class="error_message">
        {phrase var='follow.follow_this_type_to_get_feeds' type=$sType}
    </div>
{/if}